package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.student.pojos.Appointments;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AppointmentsMapper extends BaseMapper<Appointments> {
    /**
     * 更新预约状态
     *
     * @param id 预约ID
     * @param status 新的预约状态
     * @return 更新的行数
     */

    int updateAppointmentStatus(Long id, Byte status);
}
